package com.mec.offload.dao;


import com.mec.offload.model.NodeTerm;
import com.mec.offload.model.OffloadSubTask;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface NodeTermMapper{
    public List<NodeTerm> getAllNodeTerm();
    public int updateNodeTerm(NodeTerm nodeTerm);
    public int deleteNodeTerm(NodeTerm nodeTerm);
    //    public int addNodeTerm(NodeTerm nodeTerm);
    public NodeTerm findNodeTerm(Integer id);
    public NodeTerm getOriTaskTerm(Integer TaskId);
    public int updateThroughPut(OffloadSubTask offloadSubTask);
    public int queryAllCount();
    public List<NodeTerm>queryAllDataFromTable(int page, int limit);

}
